<%@ include file="/common/taglibs.jsp" %>

<head>
    <title><fmt:message key="mailsList.title"/></title>
    <meta name="menu" content="AdminMenu"/>
    <script type="text/javascript" src="<c:url value='/dwr/interface/DwrService.js'/>"></script>
	<script type="text/javascript" src="<c:url value='/dwr/engine.js'/>"></script>
	<script type="text/javascript" src="<c:url value='/dwr/util.js'/>"></script>
</head>
<body id="mailsList">

<div>
    <h2><fmt:message key="mailsList.heading"/></h2>

    <p><fmt:message key="mailsList.message"/></p>


    <display:table name="lista" id="lista" cellspacing="0" cellpadding="0"
                   defaultsort="1" class="table table-condensed table-striped table-hover" pagesize="50" requestURI="">
        <display:column property="id" style="width: 20px" />
        <display:column escapeXml="false" style="width: 25%" sortable="true" titleKey="template.name" >
        	<a href='${ ctx }/admin/editMail?id=${ lista.id }'>
	        	<fmt:message key="template.${ lista.name }"/>
	        	<br>
	        	(${ lista.name })
        	</a>
        </display:column>
       
        <display:column property="subject_es" escapeXml="true" maxLength="100" titleKey="template.subject_es"  
                        sortable="true"/>
        <display:column property="subject_en" escapeXml="true" maxLength="100" titleKey="template.subject_en" 
                        sortable="true"/>
    </display:table>
 
</div>

<script type="text/javascript">


</script>
</body>